/*
Theme Name: BaoLog
Theme URI: https://www.guluqiu.cc
Description: 一个简洁的线报主题，自带有在线小工具。从现在起，我只想做一个快乐的affman。
Version: 0.4.3
Author: parklot
Author URI: https://github.com/paopao233
Requires PHP: 5.2.4
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Author Blog: https://blog.guluqiu.cc
Tags: 线报主题,简洁,好看
 */
@charset "UTF-8";
html {
    --theme: #409eff;
    --background: #fff;
    --main: #303133;
    --routine: #606266;
    --minor: #909399;
    --seat: #c0c4cc;
    --classA: #dcdfe6;
    --classB: #e4e7ed;
    --classC: #ebeef5;
    --classD: #f2f6fc;
    --radius-wrap: 8px;
    --radius-inner: 4px;
    --text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    --box-shadow: 0px 0px 20px -5px rgba(158, 158, 158, 0.22);
}

:root {
    --Maincolor: #000000;
    --MaincolorHover: #66b1ff;
    --bagcolor: #f7f9fa;
    --swiper-navigation-size: 30px !important
}

.form-control{
    border:0;
    webkit-box-shadow:none;
    box-shadow:none;
}

.form-control:focus{
    border-color:#fff;
    webkit-box-shadow:none;
    box-shadow:none;
}

.btn:focus,.btn:active:focus,
.btn.active:focus,.btn.focus,
.btn:active.focus,.btn.active.focus {
    outline: none;
    border-color: transparent;
    box-shadow:none;
}

@media (min-width: 1024px) {
    .row.navbar.navbar-expand-lg{
        margin-right: -81px !important;
        margin-left: -30px !important;
    }
}
@media (max-width: 992px) {
    .navbar-expand-lg .navbar-logo-brand{
        position: absolute;
        top: -40%;
        left: 10%;
    }
    .navbar.navbar-expand-lg {
        margin-top: 20px;
    }

}
/* 媒体查询 */
@media (max-width: 768px) {
    .row .col-lg-2, .row .col-lg-3, .row .col-lg-4, .row .col-lg-5, .row .col-lg-6, .row .col-lg-8, .row .col-lg-9, .row .col-md-10 {
        padding: 0;
    }

    /*导航*/
    .navbar-expand-lg .navbar-collapse {
        -webkit-box-shadow: 0px 10px 30px rgb(83 88 93 / 20%);
        box-shadow: 0px 10px 30px rgb(83 88 93 / 20%);
        position: absolute;
        left: 0;
        right: 0;
        top: 101%;
        z-index: 1000;
        background: #fff;
    }


    .navbar-expand-lg .navbar-collapse .nav-link {
        padding: .9rem 1rem;
        border-top: 1px solid #eee;
    }

    .navbar-expand-lg .navbar-collapse .search-form {
        margin: .9rem 1rem;

    }
    
    .navbar-expand-lg .navbar-logo-brand{
        position: absolute;
        top: -40%;
        left: 10%;
    }
    
    .navbar.navbar-expand-lg{
        margin-top: 20px;
    }

    .navbar-collapse-search form{
        margin-bottom: 10px;
    }
    
    #navbarContent>ul.nav{
        flex-direction: column;
    }
    
}


/* 动画 */
@keyframes slide-down {
    0% { opacity: 0; transform: translateX(-75%); }
    100% { opacity: 1; transform: translateX(0); }
}

/* 评论 */
.comment_a {
    color: #868e96;
}

.comment_a:hover {
    color: #868e96;
}
.comment_submit:before {
    font-family: "FontAwesome";
    content: "\f00d";
    display: inline-block;
    transition: transform .3s;
    margin-right: 10px;
    color: var(--Maincolor)
}

#comment-author-info{
    margin-bottom: -0.5rem;
}

#comments {
    height: 6rem;
    box-shadow: none;
    resize: none;
    background: url("") right bottom no-repeat;
}
/* 赞助 a*/
.support-author a{
    color: #c6303e!important;
}
.support-author a:hover{
    color: white!important;
}
/* share a*/
.share a{
    color: #117887!important;
}
.share a:hover{
    color: white!important;
}
.share-modal{
    background-clip: border-box!important;
    border-radius: var(--radius-wrap)!important;
}
.iconfont.icon-search,.icon-bars{
    color:black;
    font-size: 1.5rem;
}
/* share modal */
.icon-wx{
    width: 45px;
    height: 45px;
    background-size: 100% 100%;
    background-image: url("");
}
.icon-wb{
    width: 45px;
    height: 45px;
    background-size: 100% 100%;
    background-image: url("");
}
.icon-qqzone{
    width: 45px;
    height: 45px;
    background-size: 100% 100%;
    background-image: url("");
}
.icon-qq-1{
    width: 45px;
    height: 45px;
    background-size: 100% 100%;
    background-image: url("");
}

/* 404内容 */
.center-404 {
    text-align: center;
    margin: 20px 0;
}

/* 分页 */
.page-numbers {
    border: 0;
    background: #fff;
    color: #868e96;
    box-shadow: none;
}

/* 底部加载时间 */
.loadtime {
    margin: 7px 0;
    display: inline-block;
}

/* 评 论 */
.comment_card_user_info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85em;
    color: #666E76;
    padding-bottom: 1em;
    border-bottom: 1px solid #dee2e6;
}

.comment_card_submit {
    display: flex;
    justify-content: space-between;
    font-size: 0.85em;
    color: #666E76;
}

/* 文 章 */

.thread-content h1, .thread-content h2, .thread-content h3, .thread-content h4, .thread-content h5, .thread-content h6 {
    color: var(--main);
    /*font-size: 18px;*/
    /*line-height: 24px;*/
    margin-bottom: 18px;
    position: relative;
    font-size: 1.25em;
    font-weight: 600;
    line-height: 1.6;

}

.thread-content h2, h3 {
    position: relative
}

.thread-content h2:before, h3:before {
    box-shadow: 0 1px 3px rgba(26, 26, 26, .1)
}

.thread-content h3 {
    padding-bottom: 10px;
    margin: 12px 0;
    font-size: 18px;
}

.thread-content h3:hover:before {
    width: 50px
}

.thread-content h3:before {
    width: 40px;
    height: 3px;
    top: auto;
    left: 0;
    bottom: 3px;
    transition: .4s;
    position: absolute;
    content: '';
    background: var(--Maincolor);
    border-radius: 5px;
}

.thread-content h2 {
    margin: 12px 0;
    border: 0;
    font-weight: 700;
    color: var(--Maincolor);
    font-size: 18px;
    background-color: #f6f7fa;
    padding: 6px 0px 6px 16px;
}

.thread-content h2:before {
    position: absolute;
    content: '';
    width: 4px;
    background: var(--Maincolor);
    top: 10%;
    left: 2px;
    bottom: 10%;
    border-radius: 5px;
    transition: .4s
}

.thread-content h4::before {
    content: '「';
    color: var(--theme);
    font-weight: 600;
    margin-right: 5px
}

.thread-content h4::after {
    content: '」';
    color: var(--theme);
    font-weight: 600;
    margin-left: 5px
}

.thread-content h5 {
    padding: 0 15px 0 28px
}

.thread-content h5::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 0;
    width: 20px;
    height: 20px;
    background-image: url("");
    background-size: 100% 100%;
}

.thread-content h6 {
    padding: 0 15px 0 28px
}

.thread-content h6::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 0;
    width: 20px;
    height: 20px;
    background-image: url("");
    background-size: 100% 100%
}

.thread-content blockquote {
    line-height: 26px;
    margin-bottom: 18px;
    background: #ecf8ff;
    border-left: 5px solid #50bfff;
    color: #50bfff;
    padding: 8px 15px;
    border-radius: 0 var(--radius-inner) var(--radius-inner) 0;
}

.thread-content p {
    margin-bottom: 10px;
    line-height: 1.8;
    word-wrap: break-word
}


.thread-content ul {
    list-style-type: disc;
    padding-left: 1.625em;
}

.thread-content ol {
    counter-reset: item;
    list-style-type: none;
}

.thread-content ol {
    color: #212529;
    display: block;
    line-height: 1.6;
    margin: -.5rem 0;
    overflow: hidden;
    overflow-x: auto;
    padding-left: 35px;
}
.thread-content ol li:before {
    content: counter(item);
    counter-increment: item;
    font-size: 11.4px;
    font-weight: 700;
}

.thread-content ol li:before {
    align-items: center;
    background-color: #d0e5f399;
    border: 0 solid #999;
    border-radius: 9999px;
    box-sizing: border-box;
    color: rgb(7 7 7 / 76%);
    display: inline-flex;
    height: 19px;
    justify-content: center;
    margin-left: -33px!important;
    margin-right: 14px;
    margin-top: 4px;
    transform: translateY(-1px);
    width: 30px;
}

pre {
    margin: 10px 0;
    padding: 10px;
    max-height: 500px;
    overflow: auto;
    background-color: #f8f8f8;
    border-radius: 4px;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace, sans-serif
}

pre code {
    color: unset;
    background-color: unset
}

code {
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
    display: inline-block;
    padding: 0 4px;
    margin-left: 2px;
    font-size: 90%;
    margin-bottom: 2px;
    color: #c7254e;
    background-color: #f9f2f4;
    border-radius: 4px
}

table {
    width: 100%;
    margin: 10px 0;
    border-collapse: collapse
}

tr:nth-child(2n+1) td {
    background: #fafafa
}

tr:hover td {
    background-color: #f5f7fa
}

table thead tr th {
    font-weight: 500;
    background: var(--classC);
}
td,th {
    transition: background-color .25s ease;
    padding: 8px;
    min-width: 0;
    box-sizing: border-box;
    text-overflow: ellipsis;
    vertical-align: middle;
    position: relative;
    text-align: left;
    border: 1px solid #ebeef5
}

/*折叠面板*/
.fold-plane {
    border: 1px solid #f0f0f0;
    margin: 10px 0;
    background-color: #f6f7fa;
    border-radius: 12px 0;
}

.fold-plane-title {
    cursor: pointer;
    font-weight: 600;
    padding: 8px;
}

.fold-plane-title:before {
    font-family: "FontAwesome";
    content: "\f00d";
    display: inline-block;
    transition: transform .3s;
    margin-right: 10px;
    color: var(--Maincolor)
}

.fold-plane-title-zk {
    color: #5368f1;
}

.fold-plane-title-zk:before {
    transform: rotate(45deg)
}

.fold-plane-content {
    display: none;
    padding: 10px;
    background-color: white;
}

/* callout */
/* 面 板 */
.bd-callout {
    padding: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #e9ecef;
    border-left-width: .25rem;
    border-radius: .25rem
}

.bd-callout h4 {
    margin-bottom: .25rem
}

.bd-callout p:last-child {
    margin-bottom: 0
}

.bd-callout code {
    border-radius: .25rem
}

.bd-callout + .bd-callout {
    margin-top: -.25rem
}

.bd-callout-info {
    border-left-color: #5bc0de
}

.bd-callout-warning {
    border-left-color: #f0ad4e
}

.bd-callout-danger {
    border-left-color: #d9534f
}

/* note 面板 */
.alert {
    position: relative;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 4px
}

.alert-light-warning {
    color: #030202;
    background-color: #fbeccd;
    border-color: #fbeccd
}

.mdi:before {
    display: inline-block;
    font: normal normal normal 24px/1 "FontAwesome";
    font-size: inherit;
    text-rendering: auto;
    line-height: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate(0, 0);
}

.mdi-arrow-right:before {
    content: "\f061";
    padding-right: 10px;
}

.mdi-arrow-right:hover {
    transition: transform .3s;
}

/* 短代码按钮 */
.bt-shortcode a, bt-shortcode a:hover {
    color: white !important;
    text-decoration: none;
}

.hide{
    display: none;
}

/* nav */
.nav-item.active:not(.dropdown-menu) a{
    color: red!important;
    font-weight: 600;

}
.dropdown .dropdown-menu li>a{
    display: flex;
    justify-content: center;
}
.dropdown:not(.show) .dropdown-menu{
    transition: all 0.4s;
    overflow: hidden;
    transform-origin: top center;
    transform: scale(1,0);
    display: block;
}

.dropdown:hover .dropdown-menu{
    transform: scale(1);
}

.post-body>ul .nav-link.active.show{
    animation: slide-down 1.2s ;
}

#indexTabContent>.tab-pane.fade {
    transition: all 1.5s;
    transform: translateY(1rem);
}

#indexTabContent>.tab-pane.fade.show {
    transform: translateY(0rem);
}

/* 回复模块 */
.post-hidden-tips {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    font-size: 14px;
    padding: 4rem;
    margin: 2rem 0;
    border-radius: var(--radius-wrap);
}
.hidden-blur-poster {
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    left: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: inherit;
    opacity: .4;
}
.post-hidden-tips .hidden-tips-text {
    position: relative;
    -webkit-box-shadow: inset 0 -2px 0 var(--Maincolor);
    box-shadow: inset 0 -2px 0 var(--Maincolor);;
}
.post-hidden-tips .hidden-tips-text .hidden-tips-arrow {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    top: 50%;
    right: 0;
    background: var(--Maincolor);
    -webkit-transform: translate(150%,-50%);
    -ms-transform: translate(150%,-50%);
    transform: translate(150%,-50%);
}

/* 关注公众号 */
.post_hide_box,.secret-password {
    background:none repeat scroll 0 0 #efe;
    border-left:5px solid #e74c3c;
    color:#555;
    padding:10px 0 10px 10px;
    border-radius:5px;
    margin-bottom:15px;
    overflow:hidden;
    clear:both;
}
.post_hide_box .post-secret {
    font-size:18px;
    line-height:20px;
    color:#e74c3c;
    margin:5px;
}
.post_hide_box form {
    margin:15px 0;
}
.post_hide_box form span {
    font-size:18px;
    font-weight:700;
}
.post_hide_box .erweima {
    margin-left:20px;
    margin-right:16px;
}
.post_hide_box input[type=password] {
    color:#9ba1a8;
    padding:6px;
    background-color:#f6f6f6;
    border:1px solid #e4e6e8;
    font-size:12px;
    -moz-transition:border .25s linear,color .25s linear,background-color .25s linear;
    -webkit-transition:border .25s linear,color .25s linear,background-color .25s linear;
    -o-transition:border .25s linear,color .25s linear,background-color .25s linear;
    transition:border .25s linear,color .25s linear,background-color .25s linear;
}
.post_hide_box input[type=submit] {
    background:#F88C00;
    border:none;
    border:2px solid;
    border-color:#F88C00;
    border-left:none;
    border-top:none;
    padding:0px;
    width:100px;
    height:38px;
    color:#fff;
    outline:0;
    border-radius:0 0 2px 0;
    font-size:16px;
}
.post_hide_box .details span {
    color:#e74c3c;
}
.post_hide_box .details
span {
    color:#e74c3c;
}
.gzhhide .gzhcode {
    position:absolute;
    width:100px;
    height:100px;
    right:20px;
    top:50%;
    margin-top:-50px
}
.gzhhide {
    background:#fff;
    border-radius:10px;
    padding:20px;
    margin:15px 0;
    position:relative;
    /*box-shadow:0 0 20px #d0d0d0*/
}
.gzhhide .gzhtitle {
    position:relative;
    font-size:17px;
    font-weight:700;
    color:#000000cc;
    padding:6px 140px 0 40px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap
}
.gzhhide .gzhtitle .fa {
    position:absolute;
    left:0;
    font-size:35px;
    top:0
}
.gzh-content {
    position: relative;
    padding:20px 140px 15px 0;
    font-size:14px;
    color:#000000cc;
}
.gzhbox {
    position: relative;
    padding:0 140px 10px 0;
}
.gzhbox input {
    width:45%;
    border:none;
    color:#737373;
    font-size:13px;
    height:35px;
    line-height:35px;
    background:#f2f2f2;
    border-radius:4px;
    outline:none;
    float:left;
    padding:0 10px
}
.gzhbox button {
    width:20%;
    margin-left: 2%;
    border:none;
    background:#3b8cff;
    color:#fff;
    padding:5px 0;
    font-size:14px;
    border-radius:5px
}
.gzhhide .gzhcode {
    position:absolute;
    width:100px;
    height:100px;
    right:20px;
    top:50%;
    margin-top:-50px
}
.gzhbox {
    padding:0
}
.gzh-content {
    padding:20px 90px 15px 0
}
.gzhhide .gzhcode {
    width:80px;
    height:80px
}
#vivideo {
    height:200px
}
.gzhhide .gzhtitle i {
    font-style:normal;
}

/** tougao */

form div.tt {
    float: left;
    width: 460px;
    margin: 10px 0;
}

#submit_post {
    margin: 20px 0;
}

#submit_post>.btn-outline-secondary{
    margin-right: 10px;
}

#postform {
    width: 100%;
    padding: 0 15px;
}
